package training.second;

public class Test {
    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle(100,50,"红色");
        rectangle.calculateArea();
        System.out.println(rectangle.getArea());

        Circle circle = new Circle("黄色",50);
        circle.calculateArea();
        System.out.println(circle.getArea());

    }
}
